﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class _jquery_JqueryAndAjaxPro : System.Web.UI.Page
{
    Linq_SQLServeDataContext LSDB = new Linq_SQLServeDataContext();
    protected void Page_Load(object sender, EventArgs e)
    {
       /// AjaxPro.Utility.RegisterTypeForAjax(typeof(_jquery_JqueryAndAjaxPro));
        Response.Write(

            Convert.ToInt32(KeyEventArgsSatat.WM_KEYUP)

            );

        Convert.ToInt32("0");
  



}
    [AjaxPro.AjaxMethod]
    public string so(int v)
    {
        var Temptal = LSDB.M_AskClasses.Single(p => p.ClaId == v);
        return Temptal.ClaName + Temptal.ClaParId + Temptal.SpellName + Temptal.Depth;
       
    }
[Flags]
enum come:uint {

    ICDRAW_ANIMATE = 8,
    ICDRAW_BUFFER = 0x100,
    ICDRAW_CONTINUE = 0x10,
    ICDRAW_FULLSCREEN = 2,
    ICDRAW_HDC = 4,
    ICDRAW_MEMORYDC = 0x20,
    ICDRAW_QUERY = 1,
    ICDRAW_RENDER = 0x80,
    ICDRAW_UPDATING = 0x40
}

/// <summary>
/// 扩展类型
/// </summary>
public enum KeyEventArgsSatat : uint
{

    /// <summary>
    /// 按下一个键 
    /// </summary>
    WM_KEYDOWN = 0x100,
    /// <summary>
    /// 释放一个键 
    /// </summary>
    WM_KEYUP = 0x101
        ,
    None = 0
}
}
